package com.tedu.dao;
import com.tedu.po.Content;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * @date 2023/4/19
 * @author liuhuan
 */
@Repository
public interface ContentMapper {
    int insert(Content record);

    Content selectByPrimaryKey(Integer id);

    int countByTitle (String title);

    int deleteById(int id);
    int updateByPrimaryKeySelective(Content record);

    int updateByPrimaryKey(Content record);

    List<Content> list();


}